﻿using FlowCanvas.Nodes;
using LogSystem;
using ParadoxNotion.Design;
using Yoozoo.Gameplay.Liberty;
using Yoozoo.Gameplay.Liberty.AI;

namespace Yoozoo.Gameplay.Liberty.Nodes
{
    [Category("Ggame")]
    public class RefreshSceneDetectorImmediately : CallableActionNode
    {
        public override void Invoke()
        {
            LibertySceneManager.RefreshDetectorImmediately(LibertyAIUtils.PlayerController.cameraController.sceneDetector);
        }
    }
}